/* V2 owns window geometry; the responsive iframe remains the original chat. */
.gaip-agent-v2-host {
  position:fixed; inset:auto; left:var(--agent-window-x); top:var(--agent-window-y);
  width:var(--agent-window-width); height:var(--agent-window-height);
  max-width:none; max-height:none; margin:0; padding:0; border:0;
  border-radius:14px; background:#fff; color:#2f3640; overflow:visible;
  box-shadow:0 12px 48px #223d382b,0 0 0 1px #2f364014; z-index:10000;
}
.gaip-agent-v2-host:not([open]) { display:none; }
.gaip-agent-v2-host::backdrop { background:transparent; pointer-events:none; }
.gaip-agent-v2-host .gaip-agent-responsive-frame { display:block; width:100%; height:100%; border:0; border-radius:inherit; background:#fff; }
.gaip-agent-gesture-shield { display:none; position:fixed; inset:0; z-index:3; cursor:grabbing; touch-action:none; }
.gaip-agent-v2-host.is-manipulating .gaip-agent-gesture-shield {display:block;}
.gaip-agent-resize { position:absolute; z-index:4; border:0; margin:0; padding:0; background:transparent; touch-action:none; }
.gaip-agent-resize:focus-visible {outline:2px solid #025b52;outline-offset:2px;}
.gaip-agent-resize--n,.gaip-agent-resize--s {left:12px;right:12px;height:8px;cursor:ns-resize;}
.gaip-agent-resize--n {top:-4px;} .gaip-agent-resize--s {bottom:-4px;}
.gaip-agent-resize--w,.gaip-agent-resize--e {top:12px;bottom:12px;width:8px;cursor:ew-resize;}
.gaip-agent-resize--w {left:-4px;} .gaip-agent-resize--e {right:-4px;}
.gaip-agent-resize--nw,.gaip-agent-resize--ne,.gaip-agent-resize--sw,.gaip-agent-resize--se {width:16px;height:16px;}
.gaip-agent-resize--nw {top:-4px;left:-4px;cursor:nwse-resize;}
.gaip-agent-resize--ne {top:-4px;right:-4px;cursor:nesw-resize;}
.gaip-agent-resize--sw {bottom:-4px;left:-4px;cursor:nesw-resize;}
.gaip-agent-resize--se {bottom:-4px;right:-4px;cursor:nwse-resize;}
.gaip-agent-v2-host.is-maximized .gaip-agent-resize {display:none;}
@media(prefers-reduced-motion:no-preference) { .gaip-agent-v2-host {animation:agent-window-arrive .16s ease-out;} @keyframes agent-window-arrive {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}} }
